package io.openkunlun.javadsl.server;

import io.openkunlun.javadsl.v1.DaprCommonProtos;

public interface InvocationHandler extends DaprHandler {

    /**
     * @return
     */
    String service();

    /**
     * @return
     */
    String[] methods();

    /**
     * @param request
     * @return
     */
    DaprCommonProtos.InvokeResponse handle(DaprCommonProtos.InvokeRequest request) throws Exception;
}
